package com.info. service;


import com.entity.Info;
import com.info.mapper.InfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InfoServiceImpl implements InfoService {

@Autowired
    InfoMapper infoMapper;
    @Override
    public List<Info> infos() {
        return infoMapper.infos();
    }
}
